public class Date {

    public int year;
    public int month;
    public int day;
    public void setDate(int y, int m, int d) {
        year=y;
        month=m;
        day=d;
    }

    public void printDate() {
        System.out.println(this.year+"年"+this.month+"月"+this.day+"日");
    }

    public static void main(String[] args) {
        Date date=new Date();
        date.setDate(2025,4,25);
        date.printDate();

        System.out.println("======================");
        Date date2=new Date();
        date2.setDate(2025,4,25);
        date2.printDate();
    }
}
